﻿namespace WMS.FC.Domain.PersistenceObject.Business
{
    public class CellPO : WarehousePOBase
    {
        /// <summary>
        /// 电池条码
        /// </summary>
        public string Barcode { get; set; } = string.Empty;

        /// <summary>
        /// 物料编码
        /// </summary>
        public string MaterialCode { get; set; } = string.Empty;

        /// <summary>
        /// 工艺路径编码
        /// </summary>
        public string TechnologyRouteCode { get; set; } = string.Empty;

        /// <summary>
        /// 工艺工序编码
        /// </summary>
        public string TechnologyProcessCode { get; set; } = string.Empty;

        /// <summary>
        /// 原始NG编码
        /// </summary>
        public string? OriginalNgCode { get; set; }

        /// <summary>
        /// NG编码
        /// </summary>
        public string? NgCode { get; set; }

        /// <summary>
        /// 是否返修
        /// </summary>
        public bool IsRework { get; set; }

        /// <summary>
        /// 返修次数
        /// </summary>
        public int ReworkCount { get; set; }

        /// <summary>
        /// 分选等级
        /// </summary>
        public string? RankValue { get; set; }

        /// <summary>
        /// 托盘条码
        /// </summary>
        public string? TrayBarcode { get; set; }

        /// <summary>
        /// 电池位置
        /// </summary>
        public int? CellPosition { get; set; }

        /// <summary>
        /// 电池状态
        /// </summary>
        public string? Status { get; set; }
    }
}
